package org.fh.entity.fhoa;


import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;


/**
 * 客户信息
 */
public class CustomerInfo implements Serializable {

    /** 客户id (唯一标识)*/
    private Long customerId;

    /** 客户名称*/
    private String customerName;

    /** 客户岗位*/
    private String position;

    /** 客户类型id*/
    private Long customerChannelId;

    /** 客户等级id*/
    private Long customerLevelId;

    /** 联系人姓名*/
    private String contactPerson;

    /** 沟通次数*/
    private Long communicationTime;

    /** 客户电话*/
    private String contactPhone;

    /** 本日发现商机*/
    private String isChance;

    /** 跟进阶段*/
    private String stage;

    /** 创建人id*/
    private Long userId;


    /** 客户信息创建时间*/
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;

    /** 客户信息更新时间*/
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date updateTime;

    /** 备注信息*/
    private String remark;

    @Override
    public String toString() {
        return "CustomerInfo{" +
                "customerId=" + customerId +
                ", customerName='" + customerName + '\'' +
                ", position='" + position + '\'' +
                ", customerChannelId=" + customerChannelId +
                ", customerLevelId=" + customerLevelId +
                ", contactPerson='" + contactPerson + '\'' +
                ", communicationTime=" + communicationTime +
                ", contactPhone='" + contactPhone + '\'' +
                ", isChance='" + isChance + '\'' +
                ", stage='" + stage + '\'' +
                ", userId=" + userId +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", remark='" + remark + '\'' +
                '}';
    }

    public Long getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Long customerId) {
        this.customerId = customerId;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public Long getCustomerChannelId() {
        return customerChannelId;
    }

    public void setCustomerChannelId(Long customerChannelId) {
        this.customerChannelId = customerChannelId;
    }

    public Long getCustomerLevelId() {
        return customerLevelId;
    }

    public void setCustomerLevelId(Long customerLevelId) {
        this.customerLevelId = customerLevelId;
    }

    public String getContactPerson() {
        return contactPerson;
    }

    public void setContactPerson(String contactPerson) {
        this.contactPerson = contactPerson;
    }

    public Long getCommunicationTime() {
        return communicationTime;
    }

    public void setCommunicationTime(Long communicationTime) {
        this.communicationTime = communicationTime;
    }

    public String getContactPhone() {
        return contactPhone;
    }

    public void setContactPhone(String contactPhone) {
        this.contactPhone = contactPhone;
    }


    public String getIsChance() {
        return isChance;
    }

    public void setIsChance(String isChance) {
        this.isChance = isChance;
    }

    public String getStage() {
        return stage;
    }

    public void setStage(String stage) {
        this.stage = stage;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}